﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class AirtightnessInfo
    {
        public AirtightnessInfo() { }

        public AirtightnessInfo(string productSN, DateTime recordTime, string productTypeID, string userID, int testValue, bool isPass)
        {
            this.ProductSN = productSN;
            this.RecordTime = recordTime;
            this.ProductTypeID = productTypeID;
            this.UserID = userID;
            this.TestValue = testValue;
            this.IsPass = isPass;
        }

        public AirtightnessInfo(string productSN, DateTime recordTime, string productTypeID, string userID, string pcIP, int testValue, bool isPass)
        {
            this.ProductSN = productSN;
            this.RecordTime = recordTime;
            this.ProductTypeID = productTypeID;
            this.UserID = userID;
            this.PCIP = pcIP;
            this.TestValue = testValue;
            this.IsPass = isPass;
        }

        public string ProductSN { get; set; }
        public DateTime RecordTime { get; set; }
        public string ProductTypeID { get; set; }
        public string UserID { get; set; }
        public string PCIP { get; set; }
        public int TestValue { get; set; }
        public bool IsPass { get; set; }
    }
}
